package com.rocky.pubimport.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 订单数据
 * @author rocky
 * @date 2022/5/7 9:46
 */
@Data
@TableName("t_order")
@EqualsAndHashCode(callSuper = false)
public class Order extends BaseEntity {

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private String orderNo;

    private BigDecimal amount;

}
